﻿<Application
  xmlns:common="clr-namespace:System.Windows;assembly=System.Windows.Controls" 
                    xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
                    xmlns:controlsPrimitives="clr-namespace:System.Windows.Controls.Primitives;assembly=System.Windows.Controls" 
                    xmlns:controlsToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"
                    xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input" 
                    xmlns:samplesCommon="clr-namespace:OnlineBookReader;assembly=OnlineBookReader"
                    xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    x:Class="Reader.App">
    <Application.Resources>
        <!--Collection of SampleTreeItems used to populate the Sample Browser TreeView-->
        <controlsToolkit:ObjectCollection x:Key="SampleTreeView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
            <samplesCommon:SampleTreeItem ViewName="welcome"  TreeItemName="介绍">

            </samplesCommon:SampleTreeItem>
            <samplesCommon:SampleTreeItem  ViewName="welcome"   TreeItemName="小说者">
                <samplesCommon:SampleTreeItem ViewName="CatalogView" Uri="http://www.xiaoshuozhe.com/book_topmonthvisit/0/1.htm"  TreeItemName="月排行榜" />
                <samplesCommon:SampleTreeItem ViewName="CatalogView" Uri="http://www.xiaoshuozhe.com/book_topmonthvote/0/1.htm"  TreeItemName="月推荐榜" />
            </samplesCommon:SampleTreeItem>
            <samplesCommon:SampleTreeItem  ViewName="welcome"  TreeItemName="理想中文">
                <samplesCommon:SampleTreeItem ViewName="CatalogView" Uri="http://www.lxwxw.com/xiaoshuotopmonthvisit/0/1.html"  TreeItemName="月排行榜" />
                <samplesCommon:SampleTreeItem ViewName="CatalogView" Uri="http://www.lxwxw.com/xiaoshuotopallvisit/0/1.html"  TreeItemName="总排行榜" />
            </samplesCommon:SampleTreeItem>

            <samplesCommon:SampleTreeItem ViewName="welcome"  TreeItemName="起点">
                <samplesCommon:SampleTreeItem ViewName="CatalogView" Uri="http://www.qidian.com/Book/TopDetail.aspx?TopType=1&amp;Time=2" TreeItemName="月排行榜" />
                <samplesCommon:SampleTreeItem ViewName="CatalogView" Uri="http://www.qidian.com/Book/TopDetail.aspx?TopType=1&amp;Time=3" TreeItemName="总排行榜"/>
            </samplesCommon:SampleTreeItem>
            <samplesCommon:SampleTreeItem ViewName="welcome"  TreeItemName="晋江文学">
                <samplesCommon:SampleTreeItem ViewName="CatalogView" Uri="http://www.jjwxc.net/topten.php?orderstr=5" TreeItemName="月推荐榜" />
                <samplesCommon:SampleTreeItem ViewName="CatalogView" Uri="http://www.jjwxc.net/topten.php?orderstr=9" TreeItemName="编辑推荐榜"/>
            </samplesCommon:SampleTreeItem>
            <samplesCommon:SampleTreeItem ViewName="SearchBook" Uri="http://www.baidu.com"  TreeItemName="搜索">
            </samplesCommon:SampleTreeItem>
            <samplesCommon:SampleTreeItem ViewName="favoriteBook" TreeItemName="书架">

            </samplesCommon:SampleTreeItem >
            <samplesCommon:SampleTreeItem  ViewName="localBook" TreeItemName="本地图书">
            </samplesCommon:SampleTreeItem>
        </controlsToolkit:ObjectCollection>

        <!-- Informational paragraph text -->
        <Style x:Key="Information" TargetType="TextBlock">
            <Setter Property="FontSize" Value="12" />
            <Setter Property="FontFamily" Value="Verdana" />
            <Setter Property="HorizontalAlignment" Value="Left" />
            <Setter Property="TextWrapping" Value="Wrap" />
            <Setter Property="Padding" Value="5" />
            <Setter Property="UseLayoutRounding" Value="False" />
        </Style>
        <Style TargetType="samplesCommon:EmbeddedImage">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="samplesCommon:EmbeddedImage">
                        <Grid x:Name="LayoutRoot">
                            <Image x:Name="Image" />
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
    
    </Application.Resources>
</Application>
